<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ page import="java.util.Date"%>
<html>
	<head>
		<title>驻村规划-首页</title>
		<meta http-equiv="content-type" content="text/html;charset=utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/bootstrap.css">
		<link rel="stylesheet" href="${pageContext.request.contextPath}/static/bootstrap-table/bootstrap-table.min.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/base.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/common.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/layout.css">
		<style type="text/css">
			#myTabContent1{
				padding-bottom:40px;
			}
			
			#tab8-1 .fixed-table-container{
				overflow-y: auto;
			}
			#tab8-1 .fixed-table-body{
				height: auto;
			}
			
			#tab8-2 .fixed-table-container{
				overflow-y: auto;
			}
			#tab8-2 .fixed-table-body{
				height: auto;
			}
			
			#tab8-3 .fixed-table-container{
				overflow-y: auto;
			}
			#tab8-3 .fixed-table-body{
				height: auto;
			}
			
			#tab8-4 .fixed-table-container{
				overflow-y: auto;
			}
			#tab8-4 .fixed-table-body{
				height: auto;
			}
		</style>
	</head>
	<body>
		<div class="container">
			<input type="hidden" name="organizationid" value="${orgId}" id="orgId"/>
			<input type="hidden" name="year" value="${year}" id="year"/>
			<div class="guidepost">
				<ul class="guidepost-con">
					<li class="guidepost-item">区市属党工委管理 <i class="icons-12 icons-12-arrowr gray"></i>
					</li>
					<li class="guidepost-item">首页
					</li>
				</ul>
			</div>
			
			<div class="e-main">
				<div class="mian-box-content cler pb1">
					<div class="col-xs-12">
						<div class="row-space">
							<div class="e-box float-e-margins">
								<div class="e-box-title">
									<h2></h2>
									<div class="e-box-toolbar pull-left with-tab">
										<ul class="nav nav-tabs e-tabs-subline">
											<li class="active">
												<a href="#tab8-1" data-toggle="tab" onclick="clickOrganizeLifeJh()">组织生活</a>
											</li>
											<li role="presentation">
												<a href="#tab8-2" data-toggle="tab" onclick="clickOrganizeLifeJf()">积分申请</a>
											</li>

										</ul>
									</div>
								</div>
								<div class="e-box-content p-xs">
									<div id="myTabContent" class="tab-content padding-10">
										<div id="tab8-1" class="tab-pane active">
											<table class="e-table " id='organizeLifeJhTable'></table>
										</div>
										<div id="tab8-2" class="tab-pane">
											<table class="e-table " id="organizeLifeJfTable"></table>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="mian-box-content cler pt1">
					<div class="col-xs-12">
						<div class="row-space">
							<div class="e-box float-e-margins">
								<div class="e-box-title">
									<h2></h2>
									<div class="e-box-toolbar pull-left with-tab">
										<ul class="nav nav-tabs e-tabs-subline">
											<li role="presentation" style="line-height:30px;padding:4px;">
												<b>党组织排名</b>
											</li>
											<c:forEach var="item" items="${partyTypeList}" varStatus="status">
												<c:if test="${status.index==0}">
													<li role="presentation" class="active">
														<a href="#tab8-3" data-toggle="tab" onclick="queryPartyPm('${item.value}')">${item.label}</a>
													</li>
												</c:if>
												<c:if test="${status.index!=0}">
													<li role="presentation">
														<a href="#tab8-3" data-toggle="tab" onclick="queryPartyPm('${item.value}')">${item.label}</a>
													</li>
												</c:if>
											</c:forEach>
										</ul>
									</div>
								</div>
								<div class="e-box-content p-xs">
									<div id="myTabContent" class="tab-content padding-10">
										<div id="tab8-3" class="tab-pane active in">
											<table class="e-table" id="partyPmTable"></table>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
					<div class="mian-box-content cler pt1">
					<div class="col-xs-12">
						<div class="row-space">
							<div class="e-box float-e-margins">
								<div class="e-box-title">
									<h2></h2>
									<div class="e-box-toolbar pull-left with-tab">
										<ul class="nav nav-tabs e-tabs-subline">
											<li role="presentation" style="line-height:30px;padding:4px;">
												<b>党员排名</b>
											</li>
											<c:forEach var="item" items="${partyTypeList}" varStatus="status">
												<c:if test="${status.index==0}">
													<li role="presentation" class="active">
														<input type="hidden" value="${item.value}" id="typeId"/>
														<a href="#tab8-3" data-toggle="tab" onclick="queryPersonPm('${item.value}')">${item.label}</a>
													</li>
												</c:if>
												<c:if test="${status.index!=0}">
													<li role="presentation">
														<a href="#tab8-3" data-toggle="tab" onclick="queryPersonPm('${item.value}')">${item.label}</a>
													</li>
												</c:if>
											</c:forEach>
										</ul>
									</div>
								</div>
								<div class="e-box-content p-xs">
									<div id="myTabContent1" class="tab-content padding-10">
										<div id="tab8-4" class="tab-pane active in">
											<table class="e-table" id="personPmTable"></table>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<script src="${pageContext.request.contextPath}/static/js/jquery-1.10.2.js" type="text/javascript" charset="utf-8"></script>
		<script src="${pageContext.request.contextPath}/static/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="${pageContext.request.contextPath}/static/bootstrap-table/bootstrap-table.js" type="text/javascript" charset="utf-8"></script>
		<script src="${pageContext.request.contextPath}/static/bootstrap-table/locale/bootstrap-table-zh-CN.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var root = "${ctx}";	 
			var time = new Date().getTime();
		</script>
		<script src="${pageContext.request.contextPath}/static/approve/homeApproveList.js?time=<%=new Date().getTime() %>" type="text/javascript" charset="utf-8"></script>
	</body>

</html>